<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

include('adodb.inc.php'); # load code common toADOdb
$conn = &ADONewConnection('mysql');  # create a connection
$conn->PConnect('localhost','userid','','agora');# connect to MySQL, agora db
$sql = 'select CustomerName, CustomerID from customers';
$rs = $conn->Execute($sql);
print $rs->GetMenu('GetCust','Mary Rosli');
?>